#define _CRT_SECURE_NO_WARNINGS 1
#include"heap.h"

void test()
{
	int a[] = { 10,9,8,7,6,5,4,3,2,1 };
	int i = 0;
	Heap hp;
	HeapCreate(&hp, a, sizeof(a) / sizeof(a[0]));
	for(i = 0; i < sizeof(a) / sizeof(a[0]); i++);
	{
		HeapPush(&hp,a[i]);
	}

	HeapPrint(&hp);
}




int main()
{
	test();
	return 0;
}